from pyeasyaccept.gui.RunTestsFrame import RunTestsFrame
import wx

class PythonEasyAcceptApp(wx.App):
    """
    It is a Graphic User Interface application for Python EasyAccept which
    allows the user to run acceptance tests by selecting the Facade and the test scripts. 
    
    @author: Danilo Torres
    """
    
    def OnInit(self):
        """
        This method initalizes the main frame of the application
        """             
        frame = RunTestsFrame(None, -1, 'Python EasyAccept - Run Acceptance Tests', size=wx.Size(800,500))
        frame.Show(True)
        frame.Centre()
        return True
        
if __name__ == '__main__':
    app = PythonEasyAcceptApp(0)
    app.MainLoop()       
    